package com.ruoyi.web.entity;


import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 用户对象 api_user
 *
 * @author youwei
 * @date 2023-12-01
 */
@Data
public class User {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "手机号")
    private String phoneNumber;

    @ApiModelProperty(value = "1:正常;0:停用;")
    private Integer status;

    @ApiModelProperty(value = "用户性别，1表示男生，2表示女生")
    private Integer sex;

    @ApiModelProperty(value = "生日")
    private String birth;

    @ApiModelProperty(value = "最后登录IP")
    private String loginIp;

    @ApiModelProperty(value = "第三方id")
    private String uuid;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "登录时间")
    private Date loginDate = new Date();

    @ApiModelProperty(value = "注册时间")
    private Date createTime = new Date();

}
